package checkers.common.logic.commands;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "RegisterResponse")
public class RegisterResponse extends Command {
	
	@XmlElement(required = true)
	private int checkRegister;
	@XmlElement
	private String reason;
	
	public RegisterResponse() {
		id = 3;
	}
	
	public int getCheckRegister() {
		return checkRegister;
	}
	
	public void setCheckRegister(int checkRegister) {
		this.checkRegister = checkRegister;
	}
	
	public String getReason() {
		return reason;
	}
	
	public void setReason(String reason) {
		this.reason = reason;
	}

}
